package com.shsxt.util.my;

import java.io.*;
import java.net.URL;
import java.util.Date;
 

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
 
import com.aliyun.oss.OSSClient;
import com.aliyun.oss.model.ObjectMetadata;
import com.aliyun.oss.model.PutObjectResult;

import org.springframework.stereotype.Controller;
import org.springframework.util.StringUtils;
import org.springframework.web.multipart.MultipartFile;
 
/**
 * 林熙程工具类参数
 *
 */
public class MyParam {
	/**
	 * OSS
	 */
	//OSS bucket名字
	public static final String MYOSS_BUCKET = "yiyunwangl";
	//OSS bucket下的具体路劲
	public static final String MYOSS_BUCKETLUJIN = "cleaning/images/";
	//OSS enpoint值(杭州)
	public static final String MYOSS_ENDPOINT = "http://oss-cn-hangzhou.aliyuncs.com";
	//OSS accessKeyId
	public static final String MYOSS_ACCESSKEYID = "LTAIkT6XUnR1TSHk";
	//OSS accessKeySecret
	public static final String MYOSS_ACCESSKEYSECRET = "dSegYArVlpS9nRegGhlmBsuGEm4hdZ";
	//OSS imageCasual 小图片临时存放地址方便上传小图片
	public static final String MYOSS_IMAGECASUAL = "C:\\Users\\lxc2\\Desktop\\success.jpg";
	//OSS style 设置图片缩放
	public static final String MYOSS_STYLE = "image/resize,mfit,h_100";
	/**
	 * 支付(微信,支付宝,余额)
	 */
	//Alipay 支付宝new DefaultAlipayClient的固定网址
	public static final String MYALIPAY_CLIENTADDRESS = "https://openapi.alipay.com/gateway.do";
	//Alipay APP_ID
	public static final String MYALIPAY_APPID = "2017041706761280";
	//Alipay APP_PRIVATE_KEY 应用私钥2048位 利用工具生成
	public static final String MYALIPAY_APPPRIVATEKEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC6gPcD83dvy5w4JqudeYD1PiT0UdnMNQcoTiaLoIJPMwPwtngB7ov6iFdxRUoADVAjJfijGj8R3qlZX5/5KqQZM2VGMmN5Nt5G9zaX2D0m1MXewjJfRakgGF1Z5WMCs6YZp464YR9JgnmA+XzRroFu83EWHs59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KyfEMw5fiD/+Ics9tXa3IVmjCzzBs2//oKT2D4QFiSsAMmmZTPnQJgjcof4FqO4GpggFlthirY30zUVzrHY6PdmLJVWlydEXjCcwZlBuH6x1NipChRPto7wW9XGrd0qE6zDcgx6/i1DeQ7lU/cjyf9TAoGBAIfEDIItVLQPLmofl8hmoGKmXLTXcU3s402737T+9C32ULAlwjKOPk+FnHMvV7Rn5l3ObZAuClpeYYSZB0KF+T6+FhjDMhjdQHpE1av/tK1p6SVBXdjHSTae01vKd76Hadqi7adqmYqiTZ5sCBeitoTO0deiuPUU1MvD6P9pn8oM";
	//Alipay ALIPAY_PUBLIC_KEY支付宝公钥
	public static final String MYALIPAY_ALIPAYPUBLICKEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgUzgScmclb96eh8AWc6TOOFK1dC2g2E4/S+q0WYQ3e633nkG7uxy0j1V+j/2PKLTn3XEMxWENBHkgrNmnmelYdzhonvt89pAo5Np3Fwma7lAtQOXdmAcQFwio6hU2kruPxJ0Zc+y/0uZzOC33QMNQP7tXUA+n8c/hCU9uoXzLGh5wl/84gKukwlK/BQ7FTNFb+KV/LnN2Z/Xvzux1E+rD8FhGhIHwSMCUaD4lkB0WCol/vFy3FNdnooo7xoFD+z0RhHID3lQIQdTfNbHQtSYw+t7F1J+nTDDq94nvWaG5d0u1Lqr9m2jCFihoOsKS3q9lcnmyU2QkC0bY1XfMf3AGQIDAQAB";
	//Alipay NotifyUrl支付宝回调函数
	public static final String MYALIPAY_NOTIFYURL = "http://139.196.102.135/cleaning/yuyue/yanzheng";
	//Wxin 微信appid
	public static final String MYWXIN_APPID = "wx50a88bb93c045066";
	//Wxin mch_id微信商户ID
	public static final String MYALIPAY_MCHID = "1464213402";
	//Wxin 统一下单地址
	public static final String MYALIPAY_UNIFIEDORDERURL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
	/**
	 * 退款(微信,支付宝,余额)
	 */
	//WX 微信退款证书
	public static final String MYWX_CERT= "C:\\Users\\lxc2\\Desktop\\cerp\\apiclient_cert.p12";
	
}